<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>角色管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../static/layui/css/layui.css" tppabs="https://www.layui.site/layui/dist/css/layui.css"  media="all">
    <link rel="stylesheet" href="role.css"  media="all">
    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
<!--条件查询搜索框-->
<form class="layui-form">
    <div class="layui-form-item">
        搜索角色名：
        <div class="layui-inline">
            <input class="layui-input" name="roleName" id="roleName" autocomplete="off">
        </div>
        <button id="selectBtn" class="layui-btn" data-type="reload">搜索</button>
    </div>
</form>

<table class="layui-hide" id="findAll" lay-filter="findAll"></table>

<script type="text/html" id="addAndUpdate">
    <div class="layui-btn-container">
        <button class="layui-btn layui-btn-sm" lay-event="add">新增</button>
    </div>
</script>

<script type="text/html" id="update">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete"></i>删除</a>
    <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="assignUser"><i class="layui-icon layui-icon-share"></i>分配用户</a>
</script>

<script src="../../static/layui/layui.js" charset="utf-8"></script>
<script src="role.js" charset="utf-8"></script>
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>

</body>
</html>